<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>文件上传</title>
</head>
<body>
    <form action="/UploadServlet" method="POST" enctype="multipart/form-data">
        文件：<input type="file" name="f1"/><br>
        <input type="submit" value="文件上传">
    </form>    
</body>
</html>